package com.chenfan.process.enums;

import lombok.Getter;

/**
 * @author K
 * @date 2021-04-27
 */
public enum LinkedTypeEnums {
    /**
     * 并行
     */
    PARALLEL(1, "并行"),
    /**
     * 条件
     */
    OPTION(2, "条件"),
    /**
     * 串行
     */
    SERIAL(3, "串行"),;

    @Getter
    private Integer code;
    @Getter
    private String message;

    LinkedTypeEnums(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
